#include "../../include/core/Customer.h"

namespace MiniBanking
{

    Customer::Customer(const std::string &name) : name_(name)
    {
        // Account IDs are initially empty, set later during account creation
        savingsAccountID_ = "";
        checkingAccountID_ = "";
    }

    const std::string &Customer::getName() const
    {
        return name_;
    }

    const std::string &Customer::getSavingsAccountID() const
    {
        return savingsAccountID_;
    }

    const std::string &Customer::getCheckingAccountID() const
    {
        return checkingAccountID_;
    }

    void Customer::setSavingsAccountID(const std::string &id)
    {
        savingsAccountID_ = id;
    }

    void Customer::setCheckingAccountID(const std::string &id)
    {
        checkingAccountID_ = id;
    }

}
